package com.objection.lambdaSentence;

public class Main {
    public static void main(String[] args) {
        Executor ex = new Executor(() -> System.out.println("hello this is a lambda"));
        ex.run(true);

        Executor ex2 = new Executor(new ActionClass());
        ex2.run(true);
    }
}


